﻿#pragma once

#include <QString>
#include <QColor>
#include <QRect>
#include <QVector>
#include <QRectF>
#include <QMultiMap>

#include "SheetDeclare.h"

class QFont;

//----------------------------------------------------------------------
//用户信息

struct QUserInfo
{
	QString strUsetID;
	QString strUserName;

	QString strDeptID;
	QString strDeptName;
	QString strCompanyID;
	QString strCompantName;

	QVector<int> vecStation;				//该用户所控制站信息
	QVector<int> vecUserLimit;				//该用户权限信息
	QMultiMap<int, int> mapPatternRole;		//该人员所有的模板角色

};
struct QRegExpression
{
	QString strRegExp;
	int orderId;
	int logicId;
	int regexpType;
	QRegExpression()
	{
		orderId = -1;
		logicId = -1;
		regexpType = -1;
		strRegExp = "";
	}
};
